package com.sc.smartcommunity.domain;

import com.baomidou.mybatisplus.annotation.TableId;


/**
 * @author Chenke Zhao
 * @date 2025/9/7 20:35
 * @description User
 */


public class User {

    @TableId
    private Long id;
    //用户名
    private String username;
    //手机号
    private String phone;
    //密码
    private String password;
    //用户头像地址
    private String avatar;
    ///个性签名
    private String signature;
    //朋友圈背景图
    private String background;

    public Long getId() {
        return id;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getBackground() {
        return background;
    }

    public void setBackground(String background) {
        this.background = background;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public User(Long id, String username, String phone, String password, String avatar, String signature, String background) {
        this.id = id;
        this.username = username;
        this.phone = phone;
        this.password = password;
        this.avatar = avatar;
        this.signature = signature;
        this.background = background;
    }

    public User() {
    }
}
